package org.springblade.modules.admin.dto.plan;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description 批量更好保养类型
 * @Author ysq
 * @Date 2023/12/18
 */
@Data
public class BatchModifyPlanTemplateDTO {

	@NotEmpty(message = "工单id集合不能为空!")
	@ApiModelProperty(value = "工单id集合")
	private List<Long> planIds;

	@NotNull(message = "保养类型id不能为空!")
	@ApiModelProperty(value = "保养类型id")
	private Long templateId;
}
